
function nventory(){
    location.href='../InventoryDetails/InventoryDetails.html'
}
function ReturnAll(){
    history.go(-1)
}
var whole=document.querySelectorAll('#whole')
var Content=document.querySelector('.InventoryManagementContent')
var comple=document.querySelector('.ContentCompleted')
function management(item){
    if(item==2){
        whole[0].className='mr-15'
        whole[1].className='bules mr-15'
        whole[2].className='';
        comple.style.display='none'
        Content.style.display='block'
    }else if(item==3){
        whole[0].className='mr-15'
        whole[1].className='mr-15'
        whole[2].className='bules'
        Content.style.display='none'
        comple.style.display='block'
        comple.className='ContentCompleted leted'
    }else{
        whole[0].className='bules mr-15'
        whole[1].className='mr-15'
        whole[2].className=''
        comple.style.display='block'
        Content.style.display='block'
        comple.className='ContentCompleted'
    }
}
function Inventory(){
    location.href='../InventoryDetails/InventoryDetails.html'
}